//
//  YAppUtils.swift
//  NewNGPlay
//
//  Created by YMac on 2017/12/12.
//  Copyright © 2017年 zchd. All rights reserved.
//

open class YAppUtils{
    open class func getAppName() -> String{
        return Bundle.main.infoDictionary!["CFBundleDisplayName"] as! String
    }
    
    open class func getAppVersionName() -> String{
        return Bundle.main.infoDictionary!["CFBundleShortVersionString"] as! String
    }
    
    open class func getAppVersionCode() -> String{
        return Bundle.main.infoDictionary!["CFBundleVersion"] as! String
    }
    
    open class func getAppBundleIdentifier() -> String{
        return Bundle.main.infoDictionary!["CFBundleIdentifier"] as! String
    }
}
